home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 19 / Amiga Plus Leser CD 19.iso / Tools / MorphOS / cvs-1.11.2 / source / src / Makefile next >
Encoding:
Makefile  |  2002-11-18  |  2.4 KB  |  85 lines

  1. #
  2. # $Id$
  3. #
  4. # :ts=4
  5. #
  6. # AmigaOS wrapper routines for GNU CVS, using the RoadShow TCP/IP API
  7. #
  8. # Written and adapted by Olaf `Olsen' Barthel <olsen@sourcery.han.de>
  9. #                        Jens Langner <Jens.Langner@light-speed.de>
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version.
  15. #
  16. # This program is distributed in the hope that it will be useful,
  17. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. # GNU General Public License for more details.
  20. #
  21. # You should have received a copy of the GNU General Public License
  22. # along with this program; if not, write to the Free Software
  23. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24. #
  25. #
  26.  
  27. TARGET    = libsrc.a
  28.  
  29. #
  30.  
  31. CC        = gcc
  32. STRIP     = strip
  33. OBJDUMP   = objdump
  34. RANLIB    = ranlib
  35. AR        = ar
  36. RM        = rm -f
  37.  
  38. CPU      = -m68020
  39. CPUFLAGS =
  40. WARN     = -Wall
  41. OPTFLAGS = -O2 -fomit-frame-pointer -fstrength-reduce -resident
  42. DEBUG    = -g3 -O0
  43. CFLAGS   = -noixemul -I./ -I../ -I../lib -I../diff -I../zlib -I../amiga -I../amiga/netinclude -DHAVE_CONFIG_H $(CPU) $(CPUFLAGS) $(WARN) $(OPTFLAGS) $(DEBUG) -c
  44. LDFLAGS  = -noixemul
  45.  
  46. # CPU and DEBUG can be defined outside, defaults to above
  47. # using e.g. "make DEBUG= CPU=-mcpu=603e" produces optimized non-debug PPC-603e version
  48. #
  49. # OPTFLAGS are disabled by DEBUG normally!
  50. #
  51. # ignored warnings are:
  52. # none - because we want to compile with -Wall all the time
  53. #
  54.  
  55. OBJS     =  add.o admin.o annotate.o buffer.o checkin.o checkout.o classify.o \
  56.             client.o commit.o create_adm.o cvsrc.o diff.o edit.o entries.o expand_path.o \
  57.             fileattr.o find_names.o hardlink.o hash.o history.o ignore.o import.o \
  58.             lock.o log.o login.o logmsg.o main.o mkmodules.o modules.o myndbm.o no_diff.o \
  59.             parseinfo.o patch.o rcs.o rcscmds.o recurse.o release.o remove.o repos.o \
  60.             root.o scramble.o server.o status.o tag.o update.o watch.o wrapper.o vers_ts.o \
  61.             subr.o filesubr.o run.o version.o error.o zlib.o
  62.  
  63. #
  64.  
  65. all: $(TARGET)
  66.  
  67. #
  68.  
  69. %.o: %.c
  70.     $(CC) $(CFLAGS) $< -o $@
  71.  
  72. #
  73.  
  74. $(TARGET): $(OBJS)
  75.     $(AR) rs $@ $(OBJS)
  76.  
  77. clean:
  78.     -$(RM) $(TARGET) $(OBJS)
  79.  
  80. #######################################
  81.  
  82.  
  83. #######################################
  84.  
  85.